﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TIS.DAO;

namespace TIS.UserControl
{
    public partial class khachhang : System.Web.UI.UserControl
    {
        PartnerDAO _partnerDao = new PartnerDAO();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                BindPartner();
            }
        }

        public void BindPartner()
        {
            rpListPartner.DataSource = _partnerDao.GetPartner();
            rpListPartner.DataBind();
        }

    }
}